﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Person
    {
        private int Id;
        private string Name;
        private string Sex;
        private long Cardid;
        private int Tel;

        public Person(int Id, string Name, string Sex, long Cardid, int Tel)
        {
            this.Id = Id;
            this.Name = Name;
            this.Sex = Sex;
            this.Cardid = Cardid;
            this.Tel = Tel;
        }

        public void XingXi()
        {
            Console.WriteLine("编号：" + this.Id);
            Console.WriteLine("姓名：" + this.Name);
            Console.WriteLine("性别：" + this.Sex);
            Console.WriteLine("身份证号：" + this.Cardid);
            Console.WriteLine("联系方式：" + this.Tel);
        }
    }
}
